<template>
  <div class="comp-home-solution-wrapper">
    <GwTitleInfo cnName="解决方案" enName="Solution" />
    <ul>
      <li v-for="(item, index) in solutionList" :key="index">
        <h5>{{ item.listH5 }}</h5>
        <img :src="item.listImg" alt="" />
        <p>{{ item.listP }}</p>
        <span>{{ item.listSpan }}</span>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "HomeSolution",
  props: {
    solutionList: {
      type: Array,
      default: [],
    },
  },
};
</script>

<style scoped lang="less">
.comp-home-solution-wrapper {
  margin: 120px auto 0;
  li {
    float: left;
    width: 280px;
    height: 500px;
    background: #ffffff;
    box-shadow: 0px 7px 22px #f0f0f0;
    margin-right: 15px;
    box-sizing: border-box;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 40px 30px;
    img {
      width: 100%;
      margin: 0 auto;
      padding: 23px 20px 23px 0px;
    }
    h5 {
      font-size: 24px;
    }
    p {
      color: #969696;
      font-size: 16px;
      line-height: 26px;
    }
    span {
      text-align: left;
      color: #3880e7;
      font-size: 16px;
      padding-top: 20px;
    }
  }
}
</style>